package com.zp.business.service.infusion;

import com.zp.business.entity.infusion.bo.InfusionRegisterStayBo;
import com.zp.business.entity.infusion.vo.InfusionPrescriptionVo;
import com.zp.business.entity.infusion.vo.InfusionRegisterStayVo;
import com.zp.business.entity.patient.vo.ClinicMasterVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 输液室待登记Service接口
 *
 * @author zhang peng
 * @ date 2025-02-02
 */
public interface IInfusionRegisterStayService {

    /**
     * 查询输液室待登记
     */
    InfusionRegisterStayVo queryById(String infusionRegisterStayId);

    /**
     * 查询输液室待登记列表(分页)
     */
    TableDataInfo<InfusionRegisterStayVo> queryPageList(InfusionRegisterStayBo bo, PageQuery pageQuery);

    /**
     * 查询输液室待登记列表(不分页)
     */
    List<InfusionRegisterStayVo> queryList(InfusionRegisterStayBo bo);

    /**
     * 修改输液室待登记
     */
    Boolean insertByBo(InfusionRegisterStayBo bo);

    /**
     * 修改输液室待登记
     */
    Boolean updateByBo(InfusionRegisterStayBo bo);

    /**
     * 校验并批量删除输液室待登记信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    /**
     * 查询待登记的输液患者列表
     * @param bo
     * @return
     */
    TableDataInfo<ClinicMasterVo> getInfusionRegisterStayList(InfusionRegisterStayBo bo, PageQuery pageQuery);

    /**
     * 查询待登记的输液患者项目明细列表
     * @param bo
     * @return
     */
    List<InfusionPrescriptionVo> getInfusionRegisterStayItemList(InfusionRegisterStayBo bo);
}
